﻿using System;
using ini;

namespace Example
{
	static class Program
	{
		static void Main(string[] args)
		{
			HelloWorld();
		}

		public static void HelloWorld()
		{
			InIReader reader = new InIReader();
			reader["Hello"]["World"] = "A small file";

			for (int i = 0; i < 10; i++)
			{
				reader["number"][i.ToString()] = (i * 999).ToString("x");
			}

			reader.Save("test.ini");
		}
	}
}
